{empty name="data"}
<p style="margin:2rem 0; text-align:center;">暂无明细！！</p>
{else /}
{volist name="data" id="vo"}
<a href="{:url('detail_info', ['id' => $vo['id']])}">
    <div class="weui-form-preview">
        <div class="weui-form-preview__bd">
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label fs08 cl-9999">{$vo.msg}</label>
                <span class="weui-form-preview__value fs07 cl-9999">{$vo.add_time|date='Y-m-d H:i:s', ###}</span>
            </div>
            <div class="weui-form-preview__item">
                {in name="vo.source" value='1, 2, 3, 4, 5, 7, 8, 10, 12, 13'}
                <label class="weui-form-preview__label fs075 cl-3333" style="color: green;">+{$vo.money}</label>
                {else/}
                <label class="weui-form-preview__label fs075 cl-3333" style="color: red;">-{$vo.money}</label>
                {/in}
                {if condition="($vo.source == 6) && ($vo.status == 0)"}
                    <span class="weui-form-preview__value fs08 cl-yellow">审核中</span>
                {elseif condition="($vo.source == 6) && ($vo.status == 1)" /}
                    <span class="weui-form-preview__value fs08 cl-green">审核通过</span>
                {elseif condition="($vo.source == 6) && ($vo.status == 2)" /}
                    <span class="weui-form-preview__value fs08 cl-orange">审核失败</span>
                {/if}
                {eq name="vo.frozen_status" value="1"}
                    {eq name="vo.source" value="9"}
                        <span class="weui-form-preview__value fs05 cl-3333">已支付</span>
                    {else /}
                        <span class="weui-form-preview__value fs05 cl-3333 cl-yellow">冻结</span>
                    {/eq}
                {else /}
                    <span class="weui-form-preview__value fs05 cl-3333">交易完成</span>
                {/eq}
            </div>
        </div>
    </div>
</a>
{/volist}
{/empty}
